package MyStack;

public class myStackList {
    public class ListNode{
        public ListNode next;
        public ListNode prev;
        public int val;
        public ListNode(int val){
            this.val=val;
        }
    }
    public ListNode head;
    public ListNode last;
    
}
